import {
  BASE
} from '../api'
import axios from '../http'
import qs from 'qs'
const USERMANAGE = {
  // 用户列表
  USERLIST: params =>
    axios.post(`${BASE.PRO}Luanzhou/user/selectByInfo`, qs.stringify(params)),
    // 添加用户
    ADDUSER: params =>
      axios.post(`${BASE.PRO}Luanzhou/user/addUser`, qs.stringify(params)),
    // 修改用户
    EDITUSER: params =>
      axios.post(`${BASE.PRO}Luanzhou/user/editUser`, qs.stringify(params)),
  // 企业列表
  COMPANYLIST: params =>
    axios.get(`${BASE.PRO}Luanzhou/company/selectByInfo`, {params}),
}

export default USERMANAGE